# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=wtype
pkgver=0.4
pkgrel=0
pkgdesc="xdotool type for wayland"
url="https://github.com/atx/wtype"
license="MIT"
arch="all"
makedepends="meson wayland-dev libxkbcommon-dev"
subpackages="$pkgname-doc"
source="https://github.com/atx/wtype/archive/v$pkgver/wtype-$pkgver.tar.gz"
options="!check" # no test suite

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output

	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="
d3441672418868221448675962979738016a9a5a96c61fd41a1e47d0633c8dea500a39c0834280788271abc6a59731692962b566ee9f6e592f00939088409130  wtype-0.4.tar.gz
"
